package std.game.objects.alive;

import org.groovymud.object.registry.Registry;

import org.groovymud.shell.command.CommandInterpreter;

import org.groovymud.object.registry.MudObjectAttendant;

import org.groovymud.object.registry.InventoryHandler;

import std.game.objects.containers.RoomImpl;

import org.groovymud.object.Container
import org.junit.Test;



class MOBImplIntegrationTest{
    @Test
	public void testDSL(){
		
		Container mc = new RoomImpl(inventoryHandler: new InventoryHandler(), exitInventory: new InventoryHandler())
		
		
		MOBImpl mob = new MOBImpl(currentContainer: mc, inventoryHandler: new InventoryHandler())
		Registry reg = new Registry(null){
					
				}
		MudObjectAttendant attendant = new MudObjectAttendant(reg){
					
				}
		CommandInterpreter interpret = new CommandInterpreter(reg, attendant){
					protected Object runCommandScript(String command, String argsAsString, org.groovymud.object.MudObject performingObject, Object returnObject, boolean commandRun) throws org.groovymud.shell.command.handler.CommandException {
						
					};
					
				};
		
		mob.setInterpreter interpret
		mc.addMudObject(mob)
		mob.north()
		mob.north()
	}
}
